<script>
window.addEvent('load', function(){		
	new DatePicker('.demo_noyear', { 
		pickerClass: 'datepicker_vista', 
		yearPicker:	true,
		format: 'Y-m-d' ,
		allowEmpty: true,
		startView:'decades',
	});
	
        new FormCheck('member_add', {
		display : {
			errorsLocation : 1,
			showErrors : 1,
			addClassErrorToField : 1
		}
	})
});

</script>
<form name="member_add" id="member_add" method="post" enctype="multipart/form-data" action="<?php echo site_url(array('just4u','member_save'))?>">
  <table width="0" border="0" cellspacing="2" cellpadding="3">
    <tr>
      <td valign="top"><table width="0" border="0" cellspacing="2" cellpadding="3">
        <tr>
          <th align="right" scope="row">Name</th>
          <td><input name="name" type="text" id="name" size="30" maxlength="100" class="validate['required']" /></td>
        </tr>
        <tr>
          <th align="right" scope="row">Birthday</th>
          <td><input placeholder="Place" name="place_of_birth" type="text" class="validate['required']" id="place_of_birth" size="17" maxlength="45" />
            <input name="birthday" type="text" id="birthday" class="date demo_noyear" size="15" maxlength="25" /></td>
        </tr>
        <tr>
          <th align="right" scope="row">Gender</th>
          <td><input type="radio" name="gender" id="radio5" value="Male" class="validate['required']" />
            Male
              <input type="radio" name="gender" id="radio6" value="Female" class="validate['required']" />
              Female</td>
        </tr>
        <tr>
          <th align="right" scope="row">Address</th>
          <td><input name="address" type="text" id="address" size="40" maxlength="200" class="validate['required']" /></td>
        </tr>
        <tr>
          <th align="right" valign="top" scope="row">Phone</th>
          <td><input placeholder="Phone1" name="phone1" type="text" id="phone1" size="20" maxlength="45" class="validate['required','phone']" />
            <br />
            <input placeholder="Phone2" name="phone2" type="text" id="phone2" size="20" maxlength="45" class="validate['phone']" /></td>
        </tr>
        <tr>
          <th align="right" valign="top" scope="row">Email</th>
          <td><input placeholder="Email1" name="email1" type="text" id="email1" size="28" maxlength="150" class="validate['required','email']" />
            <br />
            <input placeholder="Email2" name="email2" type="text" id="email2" size="28" maxlength="150" class="validate['email']" /></td>
        </tr>
        <tr>
          <th align="right" scope="row">Website</th>
          <td><input name="website" type="text" id="website" size="35" maxlength="100" class="validate['url']" /></td>
        </tr>
      </table></td>
      <td valign="top"><table width="0%" border="0" cellspacing="2" cellpadding="3">
        <tr>
          <th align="right">Username</th>
          <td><input name="username" type="text" id="username" maxlength="25" class="validate['required']" /></td>
        </tr>
        <tr>
          <th align="right">Password</th>
          <td><input name="password" type="password" id="password" maxlength="25" class="validate['required']" /></td>
        </tr>
         <tr>
          <th align="right">Confirm Password</th>
          <td><input name="confirm_password" type="password" class="validate['confirm[password]']" id="confirm_password" size="26" maxlength="30" /></td>
        </tr>
        <tr>
          <th align="right">Images</th>
          <td><label for="images"></label>
            <input type="file" name="images" id="images" /></td>
        </tr>
        <tr>
          <th align="right" valign="top">Type
            </th>
          <td valign="top"><input type="radio" name="type" id="radio" value="admin" />
            Admin
              <input name="type" type="radio" id="radio2" value="user" checked="checked" />
              User</td>
        </tr>
        <tr>
          <th align="right" valign="top">Status</th>
          <td align="left"><input name="status" type="radio" id="radio3" value="active" checked="checked" />
            Active
              <input name="status" type="radio" id="radio4" value="deactive" />
              Deactive</td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td colspan="2" align="right" valign="top"><input type="reset" name="button2" id="button2" value="Reset" class="uiButtonRounded" />        <input type="submit" name="button" id="button" value="Save" class="uiButtonRounded" /></td>
    </tr>
  </table>
</form>